package com.wang.interview.designmode.bridge;

/**
 * @author: wang
 * @date: 2021/8/1 10:47
 * @description:
 */
public abstract class Phone implements Brand{
    private Brand brand;
    public Phone(Brand brand){
        this.brand = brand;
    }

    @Override
    public void open() {
        this.brand.open();
    }

    @Override
    public void close() {
        this.brand.close();
    }
}
